package com.yz.study.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.UUID;

@RestController
@Slf4j
public class HelloAopController
{
    //  http://localhost:2405/hello
    @GetMapping(value = "/hello")
    public String helloAop()
    {
        String content = "hello aop"+"\t"+ UUID.randomUUID().toString();

        System.out.println("----content: "+content);

        return content;
    }
}
